/** 路由配置 */
export default [
  {
    path: '/decorate/task',
    name: 'DecorateTask',
    component: () => import('@/views/decorate/index'),
    meta: {
      title: '门店装修任务管理',
      keepAlive: true,
      showCrumbs: true
    },
    hidden: true
  },
  {
    path: '/decorate/task/addOrEdit',
    name: 'DecorateAddEdit',
    component: () => import('@/views/decorate/addEdit'),
    meta: {
      // keepAlive: true,
      title: '装修申请提报'
    },
    hidden: true
  },
  {
    path: '/decorate/task/add',
    name: 'DecorateTaskAdd',
    component: () => import('@/views/decorate/task'),
    meta: {
      // keepAlive: true,
      title: '新增装修任务'
    },
    hidden: true
  },
  {
    path: '/decorate/task/noDecoration',
    name: 'DecorateNoDecoration',
    component: () => import('@/views/decorate/noDecoration'),
    meta: {
      // keepAlive: true,
      title: '出图不装修申请'
    },
    hidden: true
  },
  {
    path: '/decorate/task/detail',
    name: 'DecorateDetail',
    component: () => import('@/views/decorate/detail'),
    meta: {
      // keepAlive: true,
      title: '装修详情'
    },
    hidden: true
  },
  {
    path: '/decorate/task/appointDetail',
    name: 'AppointDetail',
    component: () => import('@/views/decorate/appoint/components/appointDetail'),
    meta: {
      // keepAlive: true,
      title: '委派施工单位详情'
    },
    hidden: true
  },

  // 施工单位委派
  {
    path: '/decorate/task/appoint',
    name: 'DecorateAppoint',
    component: () => import('@/views/decorate/appoint'),
    meta: {
      title: '施工单位委派',
      keepAlive: true,
      showCrumbs: true
    },
    hidden: true
  },
  // 装修执行
  {
    path: '/decorate/task/execute',
    name: 'DecorateExecute',
    component: () => import('@/views/decorate/execute'),
    meta: {
      title: '装修执行',
      keepAlive: true,
      showCrumbs: true
    },
    hidden: true
  },
  {
    path: '/decorate/task/execute/complete',
    name: 'DecorateExecuteComplete',
    component: () => import('@/views/decorate/execute/complete'),
    meta: {
      title: '装修完工'
    },
    hidden: true
  },
  // 装修跟进
  {
    path: '/decorate/task/followUp',
    name: 'DecorateFollowUp',
    component: () => import('@/views/decorate/followUp'),
    meta: {
      title: '装修跟进',
      keepAlive: true,
      showCrumbs: true
    },
    hidden: true
  },
  // 委派确认
  {
    path: '/decorate/task/appointConfirm',
    name: 'AppointConfirm',
    component: () => import('@/views/decorate/appointConfirm'),
    meta: {
      title: '委派确认',
      keepAlive: true,
      showCrumbs: true
    },
    hidden: true
  },
  // 施工单位委派
  {
    path: '/decorate/appoint/units',
    name: 'Units',
    component: () => import('@/views/decorate/appoint/components/units'),
    meta: {
      title: '施工单位委派'
    },
    hidden: true
  },
  // 施工单位委派
  {
    path: '/curtainManage',
    name: 'CurtainManage',
    component: () => import('@/views/curtainManage'),
    meta: {
      title: '窗帘任务管理'
    },
    hidden: true
  }

]
